/*******************************************************************************
 * Copyright(c) 2023 Levetop Semiconductor Co.,Led. All rights reserved.
 * @file     triangle.h
 * @author   UartTFT Application Team
 * @version  V0.0.1
 * @date     2023-01-01
 * @brief
 ********************************************************************************/

#ifndef _TRIANGLE_H
#define _TRIANGLE_H

#include "data.h"

//extern int min(int v1,int v2);
//extern int max(int v1,int v2);
extern void PicXZ(unsigned short *Source,unsigned short *NewPic,int angle);

extern uint16_t Source_Width;
extern uint16_t Source_Height;

extern uint16_t NewPic_Width;
extern uint16_t NewPic_Height;

static float cosbeta[72];
static float sinbeta[72];

#endif /* _TRIANGLE_H */

